package user
import (
	//"github.com/jinzhu/gorm"
	_ "github.com/jinzhu/gorm/dialects/mysql"
	//"time"
	//"time"
	"time"
)
type UserContact struct {
	Id uint `gorm:"primary_key" gorm:"column:id"`
	AreaId uint `gorm:"column:areaId"`
	UserId uint `gorm:"column:userId"`
	UserName string `gorm:"column:userName"`
	Province string `gorm:"column:province"`
	City string `gorm:"column:city"`
	Area string `gorm:"column:area"`
	Address string `gorm:"column:address"`
	PhoneNum string `gorm:"column:phoneNum"`
	Choice int8 `gorm:"column:choice"`
	CreateTime time.Time `gorm:"column:createTime"`
	UpdateTime time.Time `gorm:"column:updateTime"`
}

type UserContactResult struct {
	Id uint `gorm:"primary_key" gorm:"column:id"`
	AreaId uint `gorm:"column:areaId"`
	UserId uint `gorm:"column:userId"`
	UserName string `gorm:"column:userName"`
	Province string `gorm:"column:province"`
	City string `gorm:"column:city"`
	Area string `gorm:"column:area"`
	Address string `gorm:"column:address"`
	PhoneNum string `gorm:"column:phoneNum"`
	Choice int8 `gorm:"column:choice"`
	CreateTime time.Time `gorm:"column:createTime"`
	UpdateTime time.Time `gorm:"column:updateTime"`
}